package stark.app.function.view;

import com.hjq.bar.TitleBar;

import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;
import stark.common.basic.base.BaseTitleBarFragmentActivity;

/**
 * Author：daizhongbin on 2021/7/28
 * Email：1027154338@qq.com
 * Desc:
 */
public class CustomViewUseDemoActivity extends BaseTitleBarFragmentActivity {

    @Override
    protected void onConfigTitleBar(TitleBar titleBar) {
        super.onConfigTitleBar(titleBar);
        titleBar.setTitle("自定义控件");
    }

    @NonNull
    @Override
    protected Fragment getFragment() {
        return new CustomViewItemFragment();
    }
}
